import request from '@/utils/request'

// 查询条码/编号列表
export function manageLate(query) {
  return request({
    url: '/manage/manageLate/queryList',
    method: 'get',
    params: query
  })
}

// 查询单条
export function getDetailByExperimentNumber(query) {
  return request({
    url: '/manage/manageLate/getDetailByExperimentNumber',
    method: 'get',
    params: query
  })
}

// 保存
export function manageLateSave(data) {
  return request({
    url: '/manage/manageLate',
    method: 'post',
    data
  })
}
//删除
export function manageLateDel(id) {
  return request({
    url: '/manage/manageLate/'+id,
    method: 'delete'
  })
}

//编辑
export function manageLateEdit(data) {
  return request({
    url: '/manage/manageLate',
    method: 'put',
    data: data
  })
}